package itheima.作业.IO;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.util.List;

public class Song {
    public static void main(String[] args) {
/*        File dir=new File("D:songs");
        List<File> songs =  dir.listFiles();
        switch(choose){
            case 1:
                for (File song : songs)
                    System.out.println(song.getName());
                break;
                case 2:
                    for (File song : songs)
                        System.out.println(song.getName()+" "+FileUtils.sizeOf(song));
                    break;
                    case 3:
                        for (File song : songs)
                            System.out.println(song.getName()+" "+FileUtils.sizeOf(song));
                        break;
        }*/
    }
}
